package com.zl.personal.api.service.impls;

import com.zl.personal.api.dao.inters.ITestDao;
import com.zl.personal.api.domains.entity.Test;
import com.zl.personal.api.service.inters.ITestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhonglin on 2017/4/7.
 */
@Service
public class TestService implements ITestService {

    @Autowired
    private ITestDao testDao;

    @Override
    public List<Test> findAll() {
        return testDao.findAll();
    }
}
